package com.blog.blogservice.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 权限表 (Permission)实体类
 *
 * @author guanglin.ma
 * @since 2024-03-10 22:58:07
 */
@TableName("permission")
public class Permission {
    private static final long serialVersionUID = 639621359785563762L;

    public static final String FIELD_PERMISSION_ID = "permissionId";
    public static final String FIELD_NAME = "name";
    public static final String FIELD_URL = "url";

    @TableId(type = IdType.AUTO)
    private Integer permissionId;

    private String name;

    private String url;


    public Integer getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Integer permissionId) {
        this.permissionId = permissionId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

}

